package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务列表对象 service_main
 * 
 * @author jack
 * @date 2025-01-10
 */
public class ServiceMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String homeCareType;

    /** 服务标题 */
    @Excel(name = "服务标题")
    private String title;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal score;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String serviceContent;

    /** 服务详情 */
    @Excel(name = "服务详情")
    private String serviceDetail;

    /** 购买须知 */
    @Excel(name = "购买须知")
    private String serviceTip;

    private List<ServicePeople> servicePeopleList;

    /** 逻辑删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHomeCareType(String homeCareType) 
    {
        this.homeCareType = homeCareType;
    }

    public String getHomeCareType() 
    {
        return homeCareType;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setServiceContent(String serviceContent) 
    {
        this.serviceContent = serviceContent;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getServiceContent() 
    {
        return serviceContent;
    }
    public void setServiceDetail(String serviceDetail) 
    {
        this.serviceDetail = serviceDetail;
    }

    public String getServiceDetail() 
    {
        return serviceDetail;
    }
    public void setServiceTip(String serviceTip) 
    {
        this.serviceTip = serviceTip;
    }

    public String getServiceTip() 
    {
        return serviceTip;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    public List<ServicePeople> getServicePeopleList() {
        return servicePeopleList;
    }

    public void setServicePeopleList(List<ServicePeople> servicePeopleList) {
        this.servicePeopleList = servicePeopleList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("homeCareType", getHomeCareType())
            .append("title", getTitle())
            .append("price", getPrice())
            .append("score", getScore())
            .append("serviceContent", getServiceContent())
            .append("serviceDetail", getServiceDetail())
            .append("serviceTip", getServiceTip())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
